package com.show.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {

    public HelloController(){
        System.out.println("构造controller");
    }

    @RequestMapping("/hello.do")
    public String hello(){
        System.out.println("进来了吗");
        return "success";
    }
}
